package cn.wolfcode.luowowo.member.server;

import cn.wolfcode.luowowo.member.domain.UserAttention;
import cn.wolfcode.luowowo.member.mapper.UserAttentionMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.math.BigDecimal;
import java.util.List;

@Service
public class UserAttentionServiceImpl implements IUserAttentionService {
    @Autowired
    private UserAttentionMapper userAttentionMapper;




    @Override
    public int selectFansByUid(Long id) {
        return userAttentionMapper.selectFansByUid(id);
    }

    @Override
    public Long selectHoneyById(Long id) {
        return userAttentionMapper.selectHoneyById(id);
    }

    @Override
    public List<UserAttention> selecttAttentionsByUId(Long id) {
        return userAttentionMapper.selecttAttentionsByUId(id);
    }
}
